Image processing semiconductor device and image processing device

ABSTRACT

Provided is an image processing device capable of an image processing with using a general-purpose image processing hardware in accordance with video input without mediation of a CPU. The image processing device includes: a storage medium for storing an image data acquired by video inputting unit for acquiring video images; a CPU for a general processing; image processing unit for processing the image data stored in the storage medium; setting unit for determining a processing content of the image processing unit; a command list indicating an order of setting and activating the image processing unit; and command writing unit for setting and activating the image processing unit based on the command list in synchronization with input of the image data from the video inputting unit without mediation of the CPU.

CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority from Japanese Patent ApplicationNo. 2009-252856 filed on Nov. 4, 2009, the content of which is herebyincorporated by reference into this application.

TECHNICAL FIELD OF THE INVENTION

The present invention relates to an image processing semiconductordevice and an image processing device, which process images from animaging device or others. More particularly, the present inventionrelates to an image processing semiconductor device and an imageprocessing device, which activate and set an image processing hardwaresynchronized with input from an imaging device with using the imageprocessing hardware for processing an image data and without using ageneral-purpose calculator.

BACKGROUND OF THE INVENTION

In recent years, an in-vehicle system on which a plurality of videoinputting devices are installed has been expanded. For example, onecamera is installed on each of front, back, right, and left sides of amotor vehicle to show entire peripheral environment to a user with usingthe video, so that safety is increased.

In such a system, an image (for example, a downward video image fromabove of the vehicle) viewed from a virtual viewpoint maybe generated inorder to display a better image to the user. At this time, each inputimage has to be converted into the image viewed from the virtualviewpoint. However, in order to make the system at low cost, a devicefor the processing may be one. The setting for the processing isdifferent depending on the image input, and therefore, it is required toperform a plurality of the processing with using one conversion device.

For example, as seen in Japanese Patent Application Laid-OpenPublication No. 2009-81496 (Patent Document 1), the plurality ofconversion processing are achieved by storing a plurality ofdistortion-correcting parameters and rewriting the setting of acorrecting device by a CPU depending on a status.

Also, in Japanese Patent Application Laid-Open Publication No.H08-237519 (Patent Document 2), the plurality of conversion processingare achieved by preparing a plurality of luminance-correcting tables andswitching from one luminance-correcting table to the other in a hardwaredepending on a status.

SUMMARY OF THE INVENTION

For an image processing device as installed on a motor vehicle, asobstacle detection, real time performance may be required. This isbecause a risk resulting in a car accident arises due to the detectiondelay.

Also, in such an image processing device, operation of a plurality ofapplications is required. When the plurality of applications areoperated, overhead in the processing time caused by communication and/orinterruption among the applications is caused. However, the overheadbadly affects the real time performance, and therefore, it is desirableto suppress the overhead as little as possible.

However, as seen in Patent Document 1, by switching the setting everytime by the CPU, the CPU is interrupted in every image input, andtherefore, the CPU saves the processing operated at the moment, andthen, restarts the processing. The interrupted processing is delayed bythe saving and restarting processes, and therefore, the delay badlyaffects the real time performance.

Also, in Patent Document 2, since the processing is switched in thehardware, such a problem as Patent Document 1 does not arise. However,hardwares for the video input processing and the correction processinghave a structure that a storage medium such as a memory does not mediatethe hardwares, and therefore, a problem that the hardware for thecorrection processing cannot be used for the other purpose arises.

Accordingly, a preferred aim of the present invention is, in an imageprocessing hardware which can be used for general purpose, to provide animage processing device capable of performing an image processing insynchronization with a video input processing without mediation of aCPU.

The above and other preferred aims and novel characteristics of thepresent invention will be apparent from the description of the presentspecification and the accompanying drawings.

The typical ones of the inventions disclosed in the present applicationwill be briefly described as follows.

That is, the typical one includes: a CPU for performing a generalprocessing; an image processing unit for processing an image dataacquired by a video inputting unit for acquiring the video; a settingunit for determining a processing content of the image processing unit;and a command writing unit for setting and activating the imageprocessing unit without mediation of the CPU in synchronization withimage-data input from the video inputting unit based on a command listindicating an order of the setting and activation of the imageprocessing unit.

The effects obtained by typical aspects of the present invention will bebriefly described below.

That is, the effect obtained by typical aspects is, in an imageprocessing hardware which can be used for general purpose, to start theimage processing in synchronization with the image-data input withoutthe mediation of the CPU.

BRIEF DESCRIPTIONS OF THE DRAWINGS

FIG. 1 is a structure diagram illustrating a basic structure of an imageprocessing device according to an embodiment of the present invention;

FIG. 2 is a diagram illustrating a structure of a command writing unitin the image processing device according to the embodiment of thepresent invention;

FIG. 3 is a diagram partially showing a command written in a commandlist used in the image processing device according to the embodiment ofthe present invention;

FIG. 4 is an explanatory diagram explaining a specific usage example ofthe image processing device according to the embodiment of the presentinvention;

FIG. 5 is a diagram illustrating an image processing example in thespecific usage example of the image processing device according to theembodiment of the present invention;

FIG. 6 is a structure diagram illustrating a detailed structure of animage processing device in the usage example illustrated in FIG. 4;

FIG. 7 is a diagram illustrating a processing flow as a comparisonexample of the image processing device according to the embodiment ofthe present invention;

FIG. 8 is a diagram illustrating a processing flow of the imageprocessing device according to the embodiment of the present invention;

FIG. 9 is a diagram showing an example of a command list used in theimage processing device according to the embodiment of the presentinvention and its comparison example;

FIG. 10 is an explanatory diagram explaining a specific another usageexample of the image processing device according to the embodiment ofthe present invention;

FIG. 11 is a structure diagram illustrating a detailed structure of theimage processing device in the usage example illustrated in FIG. 10;

FIG. 12 is an explanatory diagram explaining a processing flow in animage processing for synchronized video input of the image processingdevice illustrated in FIG. 11;

FIG. 13 is a diagram illustrating one example of the command list usedin the processing illustrated in FIG. 12;

FIG. 14 is an explanatory diagram explaining a processing flow in animage processing for non-synchronized video input of the imageprocessing device illustrated in FIG. 11;

FIG. 15 is a diagram showing one example of the command list used in theprocessing illustrated in FIG. 14;

FIG. 16 is a diagram illustrating a structure of the command writingunit when the non-synchronized video input is handled in the imageprocessing device according to an embodiment of the present invention;and

FIG. 17 is a diagram illustrating a structure that the command writingunit in FIG. 16 is extended.

DESCRIPTIONS OF THE PREFERRED EMBODIMENTS

Hereinafter, the embodiment of the present invention will be describedin detail with reference to the accompanying drawings. Note thatcomponents having the same function are denoted by the same referencesymbols throughout the drawings for describing the embodiment, and therepetitive description thereof will be omitted.

With reference to FIGS. 1 to 3, a basic structure of an image processingdevice according to the embodiment of the present invention isdescribed. FIG. 1 is a structure diagram illustrating the basicstructure of the image processing device according to the embodiment ofthe present invention, FIG. 2 is a diagram illustrating a structure of acommand writing unit in the image processing device according to theembodiment of the present invention, and FIG. 3 is a diagram partiallyshowing commands written in a command list used in the image processingdevice according to the embodiment of the present invention.

In FIG. 1, an image processing device 100 includes: a storage medium 102which is storage unit; an image processing unit 103; a CPU (centralprocessing unit) 106; and a command writing unit 107, and is connectedwith a video inputting unit 101 such as a video camera. The imageprocessing unit 103 includes a setting unit 104 for specifying a typeand/or activation of the image processing. In the storage medium 102,image data groups 108 and a command list 105 are stored.

The storage medium 102, the image processing unit 103, the CPU 106, andthe command writing unit 107 in the image processing device 100 areformed on a semiconductor device to structure a semiconductor chip whichis an image processing semiconductor device.

Note that, in the image processing device 100, all of the storage media102, the image processing unit 103, the CPU 106, and the command writingunit 107 may be mounted as one chip, or may be structured as collectionof a plurality of semiconductor chips.

The image processing device 100 stores a video data acquired from thevideo inputting unit 101 in the image data groups 108 inside the storagemedium 102. The image processing unit 103 executes the image processingbased on information set in the setting unit 104. The writing of theinformation to the setting unit 104 is performed so as to mediate theCPU 106 or the command writing unit 107.

The writing to the setting unit 104 by the command writing unit 107 isperformed so as to autonomously interpret the command list 105 insidethe storage medium 102 without mediation of the CPU 106, and theinterpretation and execution for the command list 105 is started astriggered by an activation command from the CPU 106, a video-capturingend synchronization signal from the video inputting unit 101, or others.

Note that, in addition, structure in which the command writing unit 107and/or the command list 105 are included inside the image processingunit 103 is also considered.

In FIG. 2, the command writing unit 107 includes: an internal register1701; command list specifying circuit 1703; synchronization signalstoring circuit 1704; a command reading circuit 1706; a commandinterpreting circuit 1707; and a command executing circuit 1708, and theinternal register 1701 includes a program counter 1702 and a pluralityof registers 1705.

The command writing unit 107 reads the command list 105 specified by amemory address or others on the storage medium 102 from the storagemedium 102 with using the command list specifying circuit 1703, andsequentially interprets and executes a command written in the specifiedcommand list (with using the command reading circuit 1706, the commandinterpreting circuit 1707, and the command executing circuit 1708).

Also, the interpreted and executed command is specified with using theprogram counter 1702. Further, the synchronization signal storingcircuit 1704 controls a synchronization signal from an external device.

In the command writing unit 107, its functions are limited to theregister writing and reading, so that a simpler structure than that of ageneral-purpose calculator such as the CPU 106 is achieved.

FIG. 3 partially shows the plurality of commands written in the commandlist 105.

In the commands written in the command list 105 shown in FIG. 3, a“MOVE” command is a command for specifying addresses and/or writingcontents of the setting unit 104 and the storage medium 102 which arewriting destinations, and a “LOAD” command is a command for writing anarbitral value stored in the setting unit 104 and the storage medium 102into the internal register 1701 inside the command writing unit 107.

A “SYNC” command is a command for making the processing wait until thevideo capturing end synchronization signal from the video inputting unit101, the image processing end synchronization signal from the imageprocessing unit 103, or others is inputted. The synchronization withplural unit can be specified.

An “EXE” command is a command for activating the image processing unit103, and a “JUMP” command is a command for rewriting the specified valuein the program counter 1702. A “TRAP” command is a command forinterrupting the CPU 106.

An “END” command is a command for ending the command list. A “SEND”command is a command for sending a synchronization signal to anotherunit, and is used, for example, when a plurality of the image processingunits 103 exist, as communication unit between the image processingunits.

Next, with reference to FIGS. 4 and 5, a specific usage example of theimage processing device according to the embodiment of the presentinvention is described. FIG. 4 is an explanatory diagram explaining aspecific usage example of the image processing device according to theembodiment of the present invention, and FIG. 5 is a diagramillustrating an image processing example in the specific usage exampleof the image processing device according to the embodiment of thepresent invention.

In FIG. 4, the image processing device 100 is assumed, in which thevideo inputting unit 101 is installed on a motor vehicle, and a videoobtained from the video inputting unit is processed and displayed on thevideo outputting unit 200.

When the video inputting unit 101 is installed at a position of aviewpoint 201 illustrated in FIG. 4, the obtained video image is the onefrom the viewpoint 201. For example, a video image illustrated as anumeral symbol 300 in FIG. 5 is the one. However, in order to show avideo image intuitively understandable for a user, it is considered thata video image as viewed from a virtual viewpoint illustrated as avirtual viewpoint 202 in FIG. 4 is acquired by conversion of the imageprocessing unit 103.

For example, a video image denoted by a numeral symbol 301 in FIG. 5 isthe one. Hereinafter, it is considered that a processing of recognizingan approaching object 203 to a motor vehicle in an image is exemplified,and the recognition of the approaching object is performed by the imageprocessing unit 103 for the processing for the viewpoint conversion andthe CPU 106 for the processing for the converted image data.

With reference to FIG. 6, a detailed structure of the image processingdevice in the usage example illustrated in FIG. 4 is described. FIG. 6is a structure diagram illustrating the detailed structure of the imageprocessing device in the usage example illustrated in FIG. 4.

In the image processing device 100 illustrated in FIG. 6, the settingunit 104 inside the image processing unit 103 and data stored in thestorage medium 102 are subdivided as compared to the image processingdevice 100 illustrated in FIG. 1. The setting unit 104 includes: aninput image data specifying circuit 405 for specifying an input-sourceimage data; and an output image data specifying circuit 406 forspecifying an output-destination image data; and a conversion mapspecifying circuit 407 for specifying a used conversion map with using amemory address on the storage medium 102 or others, and the storagemedium 102 stores image data 401 to 404, the command list 105, and aconversion map 400.

In the structure illustrated in FIG. 6, the conversion map 400 storing aparameter for the viewpoint conversion is stored in the storage medium102. The image processing unit 103 converts the image in accordance withthe conversion map 400.

Also, it is assumed to switch an image data in a writing destinationdepending on either an odd frame or an even frame of a video inputframe, and to write the converted data on the respective image datadifferent from each other. More specifically, when the odd frame isinputted, the image data is written on the image data 401 first, andthen, a result converted by the image processing unit 103 is written onthe image data 402.

When the even frame is inputted, the image data is written on the imagedata 403 first, and then, a result converted by the image processingunit 103 is written on the image data 404.

Hereinafter, although the present embodiment describes that theconversion map 400 and the command list 105 are as different units fromeach other, a structure in which the conversion map 400 is embedded inthe command list 105 is also considered. In this case, the conversionmap specifying circuit 407 is unnecessary.

Also, hereinafter, the image processing unit 103 is used for the imageconversion with using the conversion map 400 as one example. However,this is not limited to the image conversion, and may be used for aprocessing after another image input, such as contrast control or colorcorrection. In addition, a plurality of processing can be collectivelyperformed, so that more flexible processing becomes possible by formingthe command list for the plurality of processing.

Next, with reference to FIGS. 7 to 9, a processing flow in generatingthe viewpoint conversion image as changing the setting for the imageprocessing unit in the image processing device according to theembodiment of the present invention is described.

FIG. 7 is a diagram illustrating a processing flow as a comparisonexample of the image processing device according to the embodiment ofthe present invention, and shows, in a conventional technique, aprocessing that the CPU 106 receives a video end synchronization signalfrom the video inputting unit 101 as an interruption signal, andfurther, the CPU 106 activates the command writing unit 107. FIG. 8 is adiagram illustrating a processing flow of the image processing deviceaccording to the embodiment of the present invention, and shows aprocessing that the command writing unit 107 receives the video endsynchronization signal from the video inputting unit 101, andautonomously processes the signal. FIG. 9 is a diagram illustrating anexample of a command list used in the image processing device accordingto the embodiment of the present invention and its comparison example.

By the command list shown as 701 and 702 in FIG. 9, the processingillustrated in FIG. 7 is executed. First, the video capture by the videoinputting unit 101 is completed (step 501), and then, the CPU 106 isinterrupted by a signal from the video inputting unit 101 (step 502).

The CPU 106 specifies the command list 701 to the command listspecifying circuit 1703 in the command writing unit 107, and activatesthe command writing unit 107 (step 503). The command writing unit 107reads the command list 701, and executes as interpreting the commandlist.

More specifically, as shown by the “MOVE” commands in the command list701 first, the input image data 401, the output image data 402, and theconversion map 400 are specified by the input image data specifyingcircuit 405, the output image data specifying circuit 406, and theconversion map specifying circuit 407, respectively.

Next, the image processing unit 103 is activated by the “EXE” command(step 504), the processing is waited by the “SYNC” command (SYNC 100)until the end signal from the image processing unit 103 is inputted(step 505), the CPU 106 is interrupted (step 506), and a seriesoperation is ended by the “END” command.

After the CPU 106 is interrupted by the end interruption signal in thestep 506, the CPU 106 starts, for example, the recognition processingbased on the image data processed by the image processing unit 103 orothers.

Here, a status that the next video capture is ended during therecognition processing (step 507) and the CPU 106 is interrupted again(step 508) is considered.

Since the CPU 106 is in a status of the recognition processing at thistime, the processing is stopped once, and information required forrestarting the processing is waited, and then, the CPU 106 specifies thecommand list 702 to the command list specifying circuit 1703 in thecommand writing unit 107 (step 509), and restarts the stopped processing(step 510).

By repeating the above-described processing, the image processing forthe image data from the video inputting unit 101 is performed.

As described above, as a conventional technique, when the CPU 106receives the interruption signal of the end of the video inputting unit101, if the CPU 106 is in a status of execution at the moment when theinterruption signal is received, the CPU 106 has to stop the processing,and therefore, the stopped processing is delayed.

Compared to this, in the present embodiment, a processing illustrated inFIG. 8 is executed by the command list shown as 703 in FIG. 9.

In the processing illustrated in FIG. 8, before the first video captureis ended, the CPU 106 specifies the command list 703 to the command listspecifying circuit 1703 in the command writing unit 107, and activatesthe command writing unit (step 600).

First, the processing proceeds to writing commands (MOVE) for thesetting unit 104 in the image processing unit 103. Each of the inputimage data, the output image data, the conversion map, and others is setin the setting unit 104, and then, the processing is waited by a next“SYNC” command (SYNC 101) until a synchronization signal indicating theend of the video input is inputted.

And, after the video capture by the video inputting unit 101 iscompleted (step 601), the command writing unit 107 receives a videocapture end synchronization signal (step 602), and the image processingunit 103 is activated by the next “EXE” command of the “SYNC” command(Step 603).

The processing is waited by the next “SYNC” command (SYNC 100) until theend signal from the image processing unit 103 is inputted, and the CPU106 is interrupted by the “TRAP” command (step 604).

After the end interruption in the step 604 is inputted to the CPU 106,the CPU 106 starts, for example, the recognition processing based on theimage data processed by the image processing unit 103 or others.

Here, when a status that the next video capture is ended during therecognition processing by the CPU 106 is considered (step 605), the endsynchronization signal is inputted to the synchronization signal storingcircuit 1704 in the command writing unit 107 (step 606), the waitingstatus by the “SYNC” command is awoken, a next command is interpreted,the image processing unit 103 is activated again, and the sameprocessing is repeated.

At this time, the CPU 106 is not interrupted by the video capture endsignal. That is, a function capable of handling the synchronizationsignal with the video input is added to the command writing unit 107, sothat it is not required to stop the recognition processing in the CPU106, and therefore, the recognition processing is not delayed.

Next, with reference to FIG. 10, a specific another usage example of theimage processing device according to the embodiment of the presentinvention is described. FIG. 10 is an explanatory diagram explaining thespecific another usage example of the image processing device accordingto the embodiment of the present invention.

In FIG. 10, four video inputting units (801 to 804) are provided, andeach of them is installed on front, back, right, and left sides of amotor vehicle. For example, when the downward image illustrated as 301in FIG. 5 is provided, the processing of the viewpoint conversion andthe setting of the image processing unit for these four video inputtingunits (801 to 804) are different from each other. That is, for eachvideo input, individual conversion map and command list are required.

With reference to FIG. 11, a detailed structure of the image processingdevice in the usage example illustrated in FIG. 10 is described. FIG. 11is a structure diagram illustrating the detailed structure of the imageprocessing device in the usage example illustrated in FIG. 10.

In FIG. 11, the structure in FIG. 1 is extended for handling a pluralityof video inputs.

In FIG. 11, four video inputting units (801 to 804) are provided, andindividual command lists (901 to 904) and individual conversion maps(905 to 908) are provided for the video inputs, respectively.

Also, each video input data is written on any image data in the imagedata groups 108, and is transferred to the command writing unit 107after the writing. That is, the command writing unit 107 receivessynchronization signals from the four video inputting units (801 to804), and interprets and stores their statuses.

There are some methods for achieving the processing for the video inputfrom the video inputting units (801 to 804) illustrated in FIG. 10 withusing the structure illustrated in FIG. 11.

Hereinafter, an example that each video input is inputted at a fixedtiming is described with reference to FIGS. 12 and 13, and an examplethat each video input is inputted at an unfixed timing is described withreference to FIGS. 14 to 16.

First, FIG. 12 illustrates the case that each of the four video inputdata is inputted at the fixed timing. For example, a case that all ofthe video data inputs from the video inputting units (801 to 804) areinputted at the same period in an order of the video inputs 1, 2, 3, and4 is considered. In this case, the four command lists (901 to 904)illustrated in FIG. 11 are collectively and sequentially processed.

An example of the command lists is shown in a command list 1100 in FIG.13.

First, the command list 1100 is specified to the command writing unit110, and the command writing unit 110 is activated (step 1000).

And, the image processing is set and activated by receiving asynchronization signal from a video inputting unit 1 (801) with usingcommands “1101” in FIG. 13, and hereinafter, the image processing issequentially set and activated by receiving synchronization signals froma video inputting unit 2 (802) with using commands “1102” in FIG. 13,from a video inputting unit 3 (803) with using commands “1103” in FIG.13, and from a video inputting unit 4 (804) with using commands “1104”in FIG. 13 (steps 1001 to 1004) .

Even in this case, the conversion processing can be performed after thevideo capture without the mediation of the CPU 106 by using the commandlist 1100 and the command writing unit 110.

Next, FIG. 14 illustrated the case that each of the four video inputs isinputted at the unfixed timing. For example, a case that inputs of fourcameras are not synchronized with each other, a case that a frame rateis different depending on the camera, or others is considered.

In this case, the conversion processing is performed in an order of, forexample, the input of the video input end synchronization signal. Forthe processing in the order, the synchronization signal storing circuit1704 and the command list specifying circuit 1703 inside the commandwriting unit 110 have, for example, structures illustrated in FIG. 16.

In FIG. 16, there are provided four command list specificationmaintaining circuits (1401 to 1404) of storing a beginning address ofeach command list in the storage medium. When a synchronization signal1405 is inputted from arbitral video inputting unit to thesynchronization signal storing circuit 1704, the synchronization signalstoring circuit 1704 inputs the received signal to waiting circuit 1406having a queue structure once, and waits for the synchronization signal.

At this time, it is identified which video input inputs thesynchronization signal. In a beginning part of the waiting circuit 1406,after awaiting flag 1407 is turned on, the waiting flag 1407 is cleared,a start address of the command list is read from the command listspecification storing circuit corresponding to the video input, and thedata is written on next-processing command list specifying circuit 1416.

If the waiting flag 1407 is not on, the above-described processing iswaited until it is turned on. Also, at this time, a corresponding flagof synchronization flags 1411 to 1414 is turned on. Note that asynchronization flag 1415 is a flag turned on in accordance with the endsynchronization signal from the image processing unit 103. The “SYNC”command in the command list awakes the waiting status in accordance withthe flag status.

In order to achieve the video processing from the video inputting units(801 to 804) illustrated in FIG. 10 with using the structure, a dummycommand list shown as 1300 in FIG. 15 is prepared first, and thiscommand list is specified to the command list specifying circuit 1703 atan initialization period to activate the command writing unit 107.

A “SYNC ANY-VideoIN” command in the command list 1300 is a command forawakening the waiting status when any synchronization signal is receivedfrom the four video inputting units. That is, until any video inputsignal is inputted, the command writing unit 107 is in the waitingstatus. Note that the waiting flag 1407 is on at this time.

A command list corresponding to each video input has a structure shownas 1301 in FIG. 15. Commands 1302 are different commands depending oneach video input, and sequential commands 1303 are the same notdepending on each video input. A “JUMP & 1411” command is a command forspecifying a program counter to an address indicated by thenext-processing command list specifying circuit 1416.

FIG. 14 illustrates a processing flow in the command list in FIG. 15.After the initialization is performed by the command list 1300 (step1200), the command writing unit 110 becomes in the waiting status by the“ANY-VideoIN” command, and the synchronization signal storing circuit1704 waits for the video input synchronization signal.

First, the synchronization signal is inputted from the video inputtingunit 4 (804) (step 1201). Since the waiting flag 1407 is on, thesynchronization signal inputted in the queue returns the waiting flag1407 to be 0 once, and the beginning address of the command list for thevideo inputting unit 4 (804) controlled by the command listspecification controlling circuit is read from the command listspecification controlling circuit 1404 and is written on thenext-processing command list specifying circuit 1416.

Next, the synchronization flag 1414 is turned on to awake the waitingstatus of the command writing unit 110, and the command list for thevideo inputting unit 4 (804) is executed. After the waiting flag 1407 isturned on by a “MOVE 1 1407” command in the command list 1301, the imageprocessing unit 103 is activated by an “EXE” command (Step 1202), andthe waiting status that the image processing end signal is inputted isstarted by a “SYNC 104” command.

After the image processing (step 1203) is ended, the command list isexecuted again, and the processing is waited by the “SYNC ANY-VideoIN”command until the video input synchronization signal is inputted.

And then, the synchronization signals are sequentially sent from each ofthe video inputting unit 2 (802), the video inputting unit 1 (801), thevideo inputting unit 4 (804), and the video inputting unit 3 (803)(steps 1204, 1205, 1206, and 1207). The firstly-sending synchronizationsignal in the step 1204 is similarly processed as the step 1201, and theimage processing unit 103 is activated (step 1208).

During this processing, the other signals are stored in the waitingcircuit 1406. After the image processing (step 1209) is ended,processing corresponding to steps 1205, 1206, and 1207 are sequentiallyperformed.

By using such a structure, even in the case that the video input signalis irregularly inputted, the processing with using the image processingunit for handling the irregular input can be performed without themediation of the CPU 106. Note that the simple queue structure isadopted for the waiting circuit 1406 in FIG. 16. However, the waitingcircuit 1406 may have a structure such that, a priority is given to eachvideo input signal, and a synchronization signal having a high priorityis inputted to the beginning part of the queue.

Note that, even without the command list specification controllingcircuits (1404 to 1404), a structure is considered, in which the commandlist is one, the inputted synchronization signal is identified by a“CMP” command in the command list, and the signal is conditionallybranched by a “BLN” command, so that a command is selected.

Although it is assumed that the image processing unit 103 is used foronly the conversion processing right after the video input in the abovedescription, the image processing unit 103 may be also used for theprocessing during the recognition processing in the usage example asillustrated in FIG. 10 in practical. That is, both of the conversionprocessing right after the video input and other general processing haveto exist together. Therefore, as illustrated in FIG. 16, thesynchronization signal storing circuit includes a synchronization flagfor the general processing as a matter of convenience, and thesynchronization signal for the general processing is inputted to thewaiting circuit similarly to the synchronization signal from the videoinputting unit, so that both of the general processing and theconversion processing can exist together.

FIG. 17 is a diagram in which FIG. 16 is extended.

FIG. 17 is a diagram illustrating an extended structure of the commandwriting unit in FIG. 16.

In FIG. 17, a general-processing identification signal 1500 identifiedby the CPU 106 as a target general processing is inputted to the waitingcircuit 1406, and command list specification controlling circuit 1501for the general processing is newly provided for the command listspecification controlling circuit. Also, a synchronization flag 1502 forthe general processing is provided.

When the synchronization flag for the video inputting unit or thesynchronization flag for the general processing is turned on, thewaiting status is awoken by the “SYNC” command shown in FIG. 15. Ifthere are a plurality of general processing, it is considered that thenumber of the command list specification controlling circuit isincreased by the number of the general processing, or the plurality ofgeneral processing are listed and repeatedly used in the generalprocessing.

It is also considered that the waiting list in the waiting circuit 1406contains both of the information for identifying the synchronizationsignal and the information for specifying the command list. Also, evenwithout the command list specification controlling circuit, a structureis considered, in which the command list is one, the inputtedsynchronization signal is identified by a comparison command in thecommand list or others, and the signal is conditionally branched, sothat a command is selected.

Further, in a case of a plurality of image processing units 103 eachhaving the same role with the other or a case of a plurality of imageprocessing unit 103 each having a different role from the other, it isalso required to synchronize among the plurality of image processingunit 103.

As shown in FIG. 3, since the command for sending the synchronizationsignal is contained in the command list, the processing is synchronizedwith another image processing unit 103 with using the command. Forexample, in a case of two image processing unit 103 of “A” and “B” eachhaving the structure illustrated in FIG. 6, when the command writingunit of A waits for a synchronization signal of B by the “SYNC” command,the image processing unit 103 of B issues a “SEND” command to awake thewriting status of the command writing unit 107 of A, so that theprocessing proceeds.

In the foregoing, the present invention made by the inventors has beenconcretely described based on the embodiments. However, it is needlessto say that the present invention is not limited to the foregoingembodiments and various modifications and alterations can be made withinthe scope of the present invention.

The present invention relates to an image processing device ofprocessing images from an imaging device or others, and can be widelyused for a processing device with using an image processing hardware anda general-purpose calculator of processing an image data with mediationof a storage medium.

1-6 (canceled)
 7. An image processing semiconductor device comprising: acentral processing unit (CPU); an image processing unit for processingvideo image data acquired by a video inputting unit and stored in astorage unit; and a command writing unit for activating the imageprocessing unit in response to receiving a notification from the videoinputting unit that the acquisition of the video image data is complete,wherein the CPU does not receive the notification from the videoinputting unit that the acquisition of the video image data is complete.8. An image processing device comprising: a storage unit for storingvideo image data acquired by a video inputting unit; a centralprocessing unit (CPU); an image processing unit for processing the videoimage data stored in the storage unit, the image processing unitincluding a setting unit for determining a processing content of theimage processing unit; and a command writing unit for setting andactivating the image processing unit based on a synchronization signal,received from the video inputting unit, indicating that the acquisitionof the video image data is complete, wherein the CPU does not receivethe synchronization signal from the video inputting unit indicating thatthe acquisition of the video image data is complete.
 9. A method forimage processing, comprising: providing a central processing unit (CPU),an image processing unit, and a command writing unit; processing, withthe image processing unit, video image data acquired by a videoinputting unit and stored in a storage unit; and operating the commandwriting unit to activate the image processing unit in response toreceiving a notification from the video inputting unit that theacquisition of the video image data is complete, wherein the CPU doesnot receive the notification from the video inputting unit that theacquisition of the video image data is complete.
 10. A method for imageprocessing, comprising: providing a storage unit, a central processingunit (CPU), an image processing unit having a setting unit, and acommand writing unit, storing, in the storage unit, video image dataacquired by a video inputting unit; processing, with the imageprocessing unit, the video image data stored in the storage unit, thesetting unit determining a processing content of the image processingunit; and operating the command writing unit to set and activate theimage processing unit based on a synchronization signal, received fromthe video inputting unit, indicating that the acquisition of the videoimage data is complete, wherein the CPU does not receive thesynchronization signal from the video inputting unit indicating that theacquisition of the video image data is complete.